import request from '@/utils/request'

// 获取工单统计数据
export function getWorkOrderStats () {
    return request({
        url: '/nsk/workOrders/selectJgwCountMap',
        method: 'get'
    })
}

export function getCommunityList (params) {
    return request({
        url: '/nsk/communityInfo/list',
        method: 'get',
        params
    })
}

// 新增工单回复
export function getReplyList ({ orderId }) {
    return request({
        url: '/nsk/reply/getInfo',
        method: 'get',
        params: { orderId }
    });
}
